home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Demos / AppMaker 2.0b3 / Demo AppMaker 1.5 / Demo AppMaker™ / Demo AppMaker™.rsrc / TmCM_1041_TDialogView < prev    next >
Encoding:
Text File  |  1992-04-08  |  1.1 KB  |  47 lines

  1. %case doChoice%
  2.     %DoChoice%
  3. %case itemNr%
  4.     %DefineItem%
  5. %case classDecl%
  6.     %if classname = superClass%
  7.     %else%
  8.         /*----------*/
  9.         class %classname% : public %superClass% {
  10.           public:
  11.             // instance variables:
  12.             // methods:
  13.             virtual pascal void DoChoice    (TView        *origView, 
  14.                                              short        itsChoice);            // override
  15.         #if qInspector
  16.             virtual pascal void Fields    (pascal void (*DoToField)
  17.                                                 (StringPtr        fieldName, 
  18.                                                  Ptr            fieldAddr, 
  19.                                                  short            fieldType, 
  20.                                                  void            *DoToField_StaticLink),
  21.                                          void    *DoToField_StaticLink);        // override
  22.         #endif
  23.         }; /* %classname% */
  24.     %endif%
  25. %case gDeadStripSuppression%
  26.     %StripSuppression%
  27. %case classMethods%
  28.     %if not classname = superClass%
  29.         #pragma segment ARes
  30.         /*----------*/
  31.         pascal void %classname%::DoChoice%    %(TView        *origView, 
  32.                                              short        itsChoice)    
  33.         {
  34.             long        origID;
  35.         
  36.             origID = (long) (origView->fIdentifier);
  37.             switch (origID) {
  38.                 default:
  39.                     break;
  40.             } /* switch */
  41.         
  42.             inherited::DoChoice (origView, itsChoice);
  43.         } /* DoChoice */
  44.  
  45.     %endif%
  46.     %ClassMethods%
  47.